//
//  HCParentMenuViewController.h
//  HappyChildren
//
//  Created by WillyZhao on 2016/12/16.
//  Copyright © 2016年 WillyZhao. All rights reserved.
//

#import <UIKit/UIKit.h>

#import "WZLabel.h"

#import "NetConnectionDataRequester.h"

@interface HCParentMenuViewController : UIViewController <DataRequesterDelegate>

@property (nonatomic, assign) BOOL isSelectedVC;                //是否为当前选中的vc,判断是否释放
@property (nonatomic, strong) NSString *textTitle;
@property (nonatomic, strong) id dataObject;
@property(nonatomic, strong) dispatch_source_t timer;
@property (nonatomic, strong) id parameterObject;
@property (nonatomic, strong)NetConnectionDataRequester *dataRequest;
@property (nonatomic, strong) UIView *centerView__;

@property (nonatomic, strong) UIView *headerView;
@property (nonatomic, strong) UIButton *leftButton;
@property (nonatomic, strong) UIView *centerView;
@property (nonatomic, strong) UIImageView *leftImageView;
@property (nonatomic, strong) UIButton *rightButton;
@property (nonatomic, strong) UIImageView *rightImageView;
@property (nonatomic, strong) WZLabel *rightLabel;
@property (nonatomic, strong) WZLabel *headerLabel;
@property (nonatomic, strong) NSString *textTitle_;
@property (nonatomic, strong) WZLabel *leftLabel;

/*
 清除左边的所有控件
*/
-(void)setLeftClear;

/*
 清除右边的所有控件
 */
-(void)setRightClear;

/* 
 设置左边文本
 */
-(void)setLeftButtonText:(NSString *)text;

/*
 设置右边文本
 */
-(void)setRightButtonText:(NSString *)text;

/*
 设置左边图片
 */
-(void)setLeftButtonImage:(NSString *)imageName;

/*
 设置右边图片
 */
-(void)setRightButtonImage:(NSString *)imageName;

-(void)mainBtnAction:(UIButton *)mainBtn;

-(void)pushChildrenViewController:(NSString *)name parameterObject:(id)type dataObject:(id)dObject;

-(void)rightBtnAction:(UIButton *)btn;

@end
